package com.ruoyi.merchant.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * 公告详情VO
 */
@Data
//公告详情
public class AnnouncementDetailVO {

    //公告ID
    private Long announcementId;

    //公告标题
    private String title;

    //公告内容
    private String content;

    //状态
    private Integer status;

    //状态名称
    private String statusName;

    //发布时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date publishTime;

    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdAt;

    //更新时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updatedAt;
}
